import { View } from '@tarojs/components'
import { useLoad } from '@tarojs/taro'
import { AtNavBar } from 'taro-ui'
import TopView from '@/components/top-view/index'
import './index.less'

export default function Home() {
    useLoad(() => {
        
    })
    const handleClick = () => {
        
    }
    return (
        <TopView>
            <View className='index'>
                <AtNavBar
                    onClickRgIconSt={handleClick}
                    onClickRgIconNd={handleClick}
                    onClickLeftIcon={handleClick}
                    color='#000'
                    title='NavBar 导航栏示例'
                    leftText='返回'
                    rightFirstIconType='bullet-list'
                    rightSecondIconType='user'
                />
            </View>
        </TopView>
    )
}
